Apparatus and method implementing repairs on a memory device

ABSTRACT

An on-chip testing device separately locates must-repairs or preferred-repairs in a row direction and column direction of a memory array. A row counter and a column counter are operated to index the memory array in row-major order, and then in column-major order (or vice versa). A running total of the number of failures is kept for each row and column, when the running total equals or exceeds a predetermined value, the row or column is determined to be a must-repair or a preferred repair. Rows to be repaired are substituted with redundant memory rows and columns to be prepared are substituted with redundant memory columns.

This application is a continuation of application Ser. No. 09/379,321 filed on Aug. 23, 1999, now U.S. Pat. No. 6,145,092, which is a continuation of application Ser. No. 08/837,820 filed on Apr. 22, 1997, now U.S. Pat. No. 6,032,264, both of which are hereby incorporated by reference.

RELATED APPLICATIONS

This disclosure is related to the application entitled “Self-test of a Memory Device,” invented by Ray Beffa, William Waller, Warren Farnworth, Leland Nevill, and Eugene Cloud, filed on Apr. 22, 1997, the contents of which are hereby incorporated by reference.

BACKGROUND OF THE INVENTION

The present disclosure relates generally to the computer memory field, and more particularly, to on-chip testing of dynamic random access memory (DRAM) semiconductor chips.

A DRAM memory cell (memory bit) is a binary memory element formed with one transistor and one capacitor. A modern DRAM memory unit may contain many millions of addressable memory cells. Each cell's capacitor holds binary information in the form of charge, and the cell's transistor operates as a switch to introduce and control the charge stored on the capacitor.

The memory cells are organized into arrays. To access a particular memory cell when performing a read operation, the operator supplies the DRAM with the address of the cell to be accessed. The DRAM translates the address into a row address and a column address of the array the memory cell is located in, and the addressed column and row are then accessed and the charge stored on the memory cell capacitor at the intersection of the addressed column and row is sensed.

FIG. 1 is a diagram showing a memory cell array map for a 4Meg×4 DRAM (i.e., a DRAM with sixteen million total bits, Ser. No. 08/838,010, now U.S. Pat. No. 5,910,010 accessible in four million, four-bit units). Array maps for other size DRAMs are similar. The DRAM is divided into four quadrants, each made up of a series of rows, such as rows 104 and 106, and columns, such as column 107. The rows in quadrants one and three have addresses extending from zero to 1023, and are accessed four at a time. That is, because each row address in a quadrant is repeated four times, access to any row address drives four physical rows in the accessed quadrant. Each column in a quadrant, such as quadrant three, intersects all four active rows. The column addresses in quadrants one and three extend from zero to 2047. The addressing scheme is similar for quadrants two and four. For each bit that is eventually output by the DRAM, the active column and the active physical rows access four bits in a quadrant. Additional circuitry on the DRAM selects certain of the four accessed bits and places them on the appropriate output data pin(s). In this example, two bits are selected from the physical rows accessed in quadrant three, corresponding to output DQs 2 and 3, and two bits are selected from the physical rows accessed in quadrant one, corresponding to output DQs 1 and 4.

Before shipping a DRAM semiconductor chip, it must be tested to ensure that all the memory cells function properly. One conventional method of testing a DRAM is to have an external testing device store data in every memory cell in the DRAM, and then read out every memory cell in the DRAM. In this manner, DRAM defects can be detected by comparing the known input data to the output data. However, as DRAMs increase in capacity, accessing all the memory cells begins to take an inordinate amount of time. For example, in the case of a 4Meg×4 DRAM, conventional testing techniques would require four million write cycles and four million read cycles to fully test the DRAM one time.

A second conventional method decreases testing time by taking advantage of the fact that multiple bits are sensed when a row address and a column address are accessed in a quadrant. In this method, circuitry is placed on the DRAM chip, which operates on the multiple data bits sensed for each row and column address. The circuitry transmits a logic one if all the sensed data bits are a logic one, a logic zero if all the sensed data bits are a logic zero, and enters a high impedance state if the data bits are mixed, i.e., both logic ones and zeros.

To perform a DRAM test with the second conventional method, the external testing unit writes either all ones or all zeroes to the row and column addresses to be tested, and then performs a read operation on the addresses. For each address read by the testing unit, the internal DRAM test circuitry outputs a one, zero, or high impedance state, thus informing the testing unit whether any of the bits sensed are bad. By testing a plurality of data bits simultaneously, testing time is reduced.

A goal of both of the above described conventional testing techniques is to replace defective addresses when found. One way to do this is to fabricate the DRAM memory arrays with extra rows and columns of cells, which are normally not used, but which can be substituted for rows or columns of cells found to be defective. In FIG. 1, columns 108, 109 and rows 112, 113 are designated as extra rows and columns, called redundant rows and columns, respectively. For example, a 4Meg×4 DRAM may have eight redundant rows and four redundant columns per quadrant.

When a defective row or column is found, fuses are blown, isolating the defective row or column and mapping one of the redundant rows 112, 113 or one of the redundant columns 108, 109 to the address previously occupied by the defective row or column. In this manner, a memory array with a limited number of defective memory cells can be completely repaired. However, if there are too many defective memory cells, such that there are not enough redundant rows and columns to completely repair all of the defective memory cells, the die is considered “bad” and may have to be discarded.

It is important that the available supply of redundant rows and columns be allocated efficiently to repair defective memory cells. For example, assuming that X's 110 and 111 in FIG. 1 represent defective memory cells, one could repair these two cells by substituting redundant rows 112 and 113 for rows 104 and 106, respectively, or by substituting only one of redundant columns 108 and 109 for column 107. Obviously, the second substitution is the more efficient way of repairing defective cells 110 and 111, because it repairs two defective cells with only one redundant column. Relative to repairing defective cells 110 and 111 with redundant rows 112 and 113, repairing with one of redundant columns 108 and 109 is called a “preferred-repair.” A term related to preferred repairs is the so-called “must-repair”. A must repair in the row direction is encountered when the number of bad bits in a row is greater than the number of available redundant column. Similarly, a must-repair in the column direction refers to the situation that occurs when the number of bad bits in a column is greater than the number of available redundant rows.

A conventional technique for finding must and preferred repairs uses the external testing device discussed above to form a map of the defective memory cells. The device then analyzes this “memory map,” finds the required repairs, and implements an optimal repair scheme using redundant row and column substitution. This conventional testing and repair technique requires a sophisticated external testing unit, which spends a significant amount of time testing each DRAM. As DRAM sizes increase, the amount of required testing time proportionality increases. For high volume DRAM manufacture, testing time may become unacceptably long.

There is, therefore, a need to reduce the amount of time each DRAM is connected to a testing unit, and to reduce the amount of time an external testing unit needs to find and repair must and preferred repairs. Additionally, it is desirable to decrease the complexity and expense of external testing units.

SUMMARY OF THE INVENTION

Simple, fast, on-chip self-test circuitry quickly and efficiently finds and substitutes redundant rows and columns for rows and columns that are considered must/preferred repairs. The present invention is particularly advantageous because of its compact design, therefore it requires relatively little semiconductor area on the chip.

The advantages and purposes in accordance with this invention will be set forth in the following description and will also be obvious from the description, or may be learned by practicing the invention. The advantages and purpose of the invention will be realized and attained by means of the elements and combinations particularly pointed out in the appended claims.

To obtain the advantages, and in accordance with the purpose of the invention, as embodied and broadly described herein, in one embodiment, the present invention is in the form of a memory fabricated on a semiconductor chip, comprising a memory array addressable with row and column addresses; a row counter connected to supply row addresses to the memory array; and a column counter connected to supply column addresses to the memory array. Finally, control circuitry is included coupled to the row counter and the column counter, the control circuitry operating the row and column counters to access each memory element in the memory array twice, once in column-major order and once in row-major order.

In another embodiment, the present invention is a method of locating must/preferred repairs orientated in a row direction within a memory array on a semiconductor chip, comprising the steps of: sequentially accessing the memory cells in a row of the memory array; comparing a value of each of the accessed memory cells of the row with test values pre-written to the memory cells of the row; storing a running total of the number of dissimilar comparisons performed by the comparing step; and repeating the sequential accessing, comparing, and storing steps for each row in the memory array.

Both the foregoing general description and the following detailed description are exemplary and explanatory only and do not restrict the invention, as claimed. dr

BRIEF DESCRIPTION OF THE DRAWINGS

The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate several embodiments of the invention and, together with the description, serve to explain the principles of the invention. In the drawings,

FIG. 1 is a diagram showing a memory cell array map for a 4Meg×4 DRAM;

FIG. 2 is a conceptual block diagram illustrating a DRAM with a self-test capability according to the present invention;

FIG. 3 is diagram of a nine element array;

FIGS. 4 illustrates a quadrant of a 4Meg×4 DRAM indexed in row-major order;

FIGS. 5 illustrates a quadrant of a 4Meg×4 DRAM indexed in column-major order; and

FIGS. 6A, 6B, and 7 are flow-charts illustrating the preferred operation of the present.

DETAILED DESCRIPTION

This disclosure describes self-test circuitry that, when triggered by an external signal, performs an on-chip test and repair of a DRAM memory array. The on-chip circuitry finds and repairs must and preferred repairs on the DRAM. (A preferred-repair is defined as a row or column in which at least a predetermined number of cells, greater than one, have failed. For example, if the predetermined number is set at two, any row or column with two or more failing cells is considered a preferred repair. A must-repair is defined as a row or column in which the number of failing cells is greater than the number of available redundant column or rows, respectively.) The on-chip test circuitry includes a row counter and a column counter, which index each quadrant in the memory array under test. To find must and preferred repairs in the column direction, the two counters index the memory array in column-major order, and to find must and preferred repairs in the row direction, the indexing is done in row-major order.

Reference will now be made in detail to the embodiments of the invention, examples of which are illustrated in the accompanying drawings. Wherever possible, the same reference numbers will be used throughout the drawings to refer to the same or like parts.

A DRAM, equipped with repair location circuitry according to the preferred embodiment of the present invention, seen in FIG. 2, is preferably implemented on semiconductor chip 200, which includes a plurality of pins 202, such as data I/O pins, address pins, and various control pins, for interfacing chip 200 with the outside world. Memory array 204, which may be subdivided into quadrants as shown in FIG. 1, includes memory cells that store data.

During normal DRAM operation, to access data, the operator supplies DRAM 200 with row and column addresses. The row and column addresses are stored in the row address latch 206 and column address latch 208, respectively, and are then used to access data stored in memory array 204. The row address may turn on multiple physical rows having the same address within a segment (e.g., four rows are turned on in the 4Meg×4 DRAM shown in FIG. 1). The column address determines which one of the data bits sensed on the activated rows should be sent to a DRAM output pin.

Preferably, test circuitry 214, in response to a command from an external testing unit (not shown), writes predetermined test data to memory array 204. Alternatively, other on-chip testing circuitry, or even off-chip testing circuitry may write the predetermined test data to memory array

Control circuitry 222 coordinates the operation of must-repair location circuitry 214. In particular, control circuitry 222 increments row counter 216 and column counter 218 by pulsing their clock (clk) input, and clears the counters by activating their clear inputs. In this manner, control circuitry 222 controls the particular order in which the row and column counters are operated, called the indexing scheme, used to access memory array 204. Further, in response to an active signal on error detection line 225, control circuitry 222 updates counter 220, which keeps a running total of the number of failures in a particular row or column.

Although counters 216 and 218 are shown as two distinct counters, each controlled by circuitry 222, they could also be implemented as two counters in a cascade configuration or as a larger single counter. Further, counter 220 may be as simple as a memory register used by control circuitry 222 to store the running total.

The operation of test circuitry 214 will be further described below, with reference to FIGS. 3 through 7.

As previously mentioned, according to the present invention, test circuitry 214 first indexes memory array 204 in row-major order and then in column-major order. Indexing an array in row-major order refers to sequentially traversing the array one row at a time; conversely, indexing an array in column-major order refers to sequentially traversing the array one column at a time. For example, array 300, shown in FIG. 3, is a 3×3, nine element array, with each element having a label corresponding to the row and column it intersects. Traversal of the array in row-major order corresponds to sequentially accessing the elements: (0,0), (0,1), (0,2), (1,0), (1,1), 204. After the predetermined test data have been written to memory array 204, the self-test cycle contemplated by the present invention may be initiated.

Semiconductor chip 200 and test circuitry 214 can include additional control circuitry for interfacing/decoding data and commands with memory array 204. Such control circuitry is well known in the art and will not be described further.

Test circuitry 214 includes a plurality of elements, including a row counter 216, a column counter 218, and a third counter 220. Counters 216 and 218 generate row and column addresses. which are latched to the memory array 204 through row address latch 206 and column address latch 208, respectively. The data output from the memory cells addressed by the addresses in latches 206 and 208 are input to failure detection circuit 224, which detects failing, or bad, memory cells by comparing the data read from the memory cells to the “expected” test data previously supplied to memory array 204. When a bad cell is detected, failure detection circuit 224 supplies an error detect signal to register 220 and control circuitry 222 via error detection line 225.

Repair circuitry 223, under control of circuitry 222, contains logic necessary to substitute a designated redundant row or column for a failed row or column. This substitution is typically performed when the number of defective cells in a row or column has reached the predetermined values stored in register 221. When finding must-repairs the predetermined value is initially set at the number of initially available redundant rows or columns, and is gradually decremented to reflect used redundant rows and columns. When finding preferred-repairs, a predetermined value is set in register 221 and held constant throughout the preferred-repair procedure. (1,2), (2,0), (2,1), and (2,2). Traversal of the array in column-major order corresponds to sequentially accessing the elements: (0,0), (1,0), (2,0), (0,1), (1,1), (2,1), (0,2), (1,2), and (2,2).

FIGS. 4 and 5 illustrate a quadrant 300 of a 4Meg×4 DRAM indexed in row-major order (FIG. 4) and in column-major order (FIG. 5).

As shown in FIG. 4, when indexing in row-major order, the memory elements along each row, indicated by, for example, row line 302, are sequentially addressed. To perform this type of indexing, for each row, control circuitry 222 holds row counter 216 constant at a single row value, while column counter 218 is incremented through the available column addresses zero through 2047. If any one of the four bits accessed by each indexed row and column address corresponds to a defective bit, as detected by failure detection circuit 224, counter 220 is incremented. At the end of each row, control circuitry 222 compares the value in register 220 to a predetermined value, and if the value held in register 220 equals or exceeds that value, the row just analyzed is determined to be a must-repair or a preferred repair row. The value stored in register 220 is then cleared, and the indexing proceeds to the next row. When checking for must-repairs in the row direction, the predetermined value is set at, and changes with, the number of available redundant columns. When checking for preferred-repairs in the row direction, the predetermined value is held constant at, for example, two, throughout the testing procedure.

FIG. 5 is a diagram illustrating indexing of quadrant 300 in column-major order. This type of indexing is similar to indexing in row-major order, except that the roles of row counter 216 and column counter 218 are reversed. Specifically, in column-major indexing, for each column, control circuitry 222 holds column counter 218 constant at a single column value, while row counter 216 is incremented through the available row addresses zero through 1023.

FIGS. 6A, 6B, and 7 together constitute a flow chart illustrating the preferred operation of the present invention.

Control circuitry 222 initiates a repair test cycle by clearing counters 216 and 218 (step 602). In steps 604 through 618, the testing circuitry sequentially accesses and determines if each memory cell in a row is defective. Specifically, column counter 216 is incremented (step 604) to generate the memory cell address to be accessed (step 606). Failure detection circuitry 224 then determines whether the accessed memory cell is defective (step 608), and if so, it increments counter 220 (step 612). The process is repeated until all the memory cells in a row have been accessed (step 610). When a row has been completed, the system determines if the row is a must-repair (step 614), and if so, circuitry 222 operates repair circuitry 223 to substitute a redundant row for the failed row (step 616) and to correspondingly reduce the count of a number of available redundant rows by one (step 617). Counter 220 is then cleared (step 618).

The testing circuitry repeats steps 604 through 618 for each row in the quadrant (steps 620 and 622). When all the row must-repairs have been tested, the system locates must-repairs in the column direction (process 630). Process 630 includes steps similar to that performed by steps 602 through 622, except that the role of the row and column counter are reversed.

Although the process shown in FIGS. 6A and 6B is described as performing a complete must-repair test cycle by first indexing the memory array in row-major order and then in column-major order, this indexing order could be reversed.

After all must-repairs have been found, the system may execute optional process 635 to find preferred-repairs. Process 635 comprises steps almost identical to those performed in steps 602 through 630 for the must-repair case, with the difference that the predetermined value used to identify failing preferred rows and columns is a held constant throughout the process. That is, step 617 is not executed when preferred-repairs are located.

Process 640, shown in detail in FIG. 7, repairs the remaining non-must-repair and non-preferred-repair cell defects that may still exist after process 635 has been completed. Control circuitry 222 initiates process 640 by clearing counters 216 and 218 (step 702). Column counter 216 is incremented (step 704) to generate the memory cell address to be accessed (step 706). The testing circuitry then determines whether the accessed memory cell is defective (step 708), and if so, repair circuitry 223 is operated to substitute a redundant row or column for the defective cell (step 710). Steps 704 through 710 are performed for every memory cell in the quadrant (steps 712, 714, and 716).

Although process 640 is shown as accessing the memory quadrant in row-major order, a column-major order access could also be used.

Whether a redundant row or column is substituted in step 710 is immaterial, but there must be at least one redundant row or column available. If a defective memory cell is found and there are no remaining redundant rows or columns, the memory array is defective. An impaired memory array, however, may still be useable to some extent through a process called partialing. In partialing, blocks of memory cells that include defective cells are isolated. In this manner, a memory device with defective memory cells may still be used, albeit with a reduced memory capacity.

It will be apparent to those skilled in the art that various modifications and variations can be made to the present invention without departing from the scope or spirit of the invention. For example, although above embodiments were described with reference to a DRAM, the concepts disclosed herein could also be applied to testing of any semiconductor memory such as static random access memories (SRAMs). The concepts of the invention may also be applied to non-semiconductor memories as well. Additionally, although the present test circuitry repaired the must repairs as soon as they were identified, the failed must-repair addresses could instead be stored in an address queue for later repair or transmission off chip.

Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. The specification and examples are exemplary only. The true scope and spirit of the invention is instead indicated by the following claims and their equivalents. 

What is claimed is:
 1. A method of testing a memory array having a plurality of memory cells organized into rows and columns, the memory array being connected to an address circuit for accessing the rows and columns, said method comprising the steps of: a) providing a test circuit coupled to the plurality of memory cells and the address circuit for controlling the address circuit to access memory cells in a row or column direction and for identifying a repair when a predetermined number of defective memory cells in a same row or column are detected; b) providing a repair circuit coupled to the plurality of memory cells and the test circuit; c) writing via the test circuit test data into memory cells of the array to be tested; d) accessing via the address circuit a column of memory cells in the array; e) determining at the test circuit if any of the accessed memory cells are defective; and f) if it is determined that any of the accessed memory cells are defective, incrementing a failure counter, comparing the failure counter to a first failure threshold, and if the failure counter exceeds the first failure threshold, repairing via the repair circuit the addressed cells prior to accessing additional memory cells of the array.
 2. The method of claim 1 further comprising the steps of: g) repeating steps d) through f) until all columns of the memory array have been tested.
 3. The method of claim 2, wherein said first failure threshold is a number of redundant rows in the memory array.
 4. The method of claim 2, wherein said first failure threshold is a number greater than one.
 5. The method of claim 2 further comprising the steps of: h) accessing via the address circuit a row of memory cells in the array; i) determining at the test circuit if any of the accessed memory cells are defective; and j) if any of the accessed memory cells are defective, incrementing the failure counter, comparing the failure counter to a second failure threshold, and if the failure counter exceeds the second failure threshold, repairing via the repair circuit the addressed cells prior to accessing additional memory cells of the array.
 6. The method of claim 5 further comprising the steps of: k) repeating steps h) through j) until all rows of the memory array have been tested.
 7. The method of claim 5, wherein said second failure threshold is a number of redundant columns in the memory array.
 8. The method of claim 5, wherein said second failure threshold is a number greater than one.
 9. A method of testing a memory array having a plurality of memory cells organized into rows and columns, the memory array being connected to an address circuit for accessing the rows and columns and a test circuit for controlling the address circuit and for identifying a repair, said method comprising the steps of: a) providing a repair circuit coupled to the plurality of memory cells and the test circuit; b) writing via the test circuit test data into memory cells of the array to be tested; c) accessing via the address circuit a row of memory cells in the array; d) determining at the test circuit if any of the accessed memory cells are defective; e) if it is determined that any of the accessed memory cells are defective, incrementing a failure counter, comparing the failure counter to a first failure threshold, and if the failure counter exceeds the first failure threshold, repairing via the repair circuit the addressed cells prior to accessing additional memory cells of the array; and f) repeating steps d) through e) until all rows of the memory array have been tested.
 10. The method of claim 9, wherein said first failure threshold is a number of redundant columns in the memory array.
 11. The method of claim 9, wherein said first failure threshold is a number greater than one.
 12. The method of claim 9 further comprising the steps of: g) accessing via the address circuit a column of memory cells in the array; h) determining at the test circuit if any of the accessed memory cells are defective; and i) if any of the accessed memory cells are defective, incrementing the failure counter, comparing the failure counter to a second failure threshold, and if the failure counter exceeds the second failure threshold, repairing via the repair circuit the addressed cells prior to accessing additional memory cells of the array.
 13. The method of claim 12 further comprising the steps of: j) repeating steps g) through i) until all columns of the memory array have been tested.
 14. The method of claim 13, wherein said second failure threshold is a number of redundant rows in the memory array.
 15. The method of claim 13, wherein said second failure threshold is a number greater than one.
 16. A method of testing a memory array having a plurality of memory cells organized into rows and columns, the memory array being connected to an address circuit for accessing the rows and columns, said method comprising the steps of: a) providing a test circuit coupled to the plurality of memory cells and the address circuit for controlling the address circuit to access memory cells in a row or column direction and for identifying a repair when a predetermined number of defective memory cells in a same row or column are detected; b) providing a repair circuit coupled to the plurality of memory cells and the test circuit; c) writing via the test circuit test data into memory cells of the array to be tested; d) accessing via the address circuit a column of memory cells in the array; e) determining at the test circuit if any of the accessed memory cells are defective; f) if it is determined that any of the accessed memory cells are defective, incrementing a failure counter, comparing the failure counter to a first must-repair threshold and a first preferred-repair threshold, and if the failure counter exceeds one of the first must-repair threshold and the first preferred-repair threshold, repairing via the repair circuit the addressed cells prior to accessing additional memory cells of the array; g) repeating steps e) through f) until all columns of the memory array have been tested; h) accessing via the address circuit a row of memory cells in the array; i) determining at the test circuit if any of the accessed memory cells are defective; j) if any of the accessed memory cells are defective, incrementing the failure counter, comparing the failure counter to a second must-repair threshold and a second preferred-repair threshold, and if the failure counter exceeds the second must-repair threshold and the second preferred-repair threshold, repairing via the repair circuit the addressed cells prior to accessing additional memory cells of the array; and k) repeating steps h) through j) until all rows of the memory array have been tested. 